﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Linq;

namespace GhostGame.DataObjects
{
    public class PageBase : System.Web.UI.Page
    {
        public User GetCurrentUser()
        {
            return GameContainer.Users.First(u => u.ID == (int)this.Session["UserID"]);
        }
    }
}